package com.cw1.uml.depend;

public class PersonServiceBean {
    private PersonDao personDao;

    public void save(Person person){}

    public IDCard getIdCard(Integer personId){return new IDCard();}

    public void modify(){
        Department department = new Department();
    }
}

class PersonDao{

}

class IDCard{
    private Person person;
}

class Person{
    private IDCard idCard;
}

class Department{

}
